package com.woniuxy.woniuhis.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.woniuhis.entity.ExaminationResult;

public interface ExaminationResultMapper {

	//增加一条检查结果
	void insertExaminationResult(@Param("examinationResult")ExaminationResult examinationResult);
	//根据检查结果id删除一条检查结果
	void deleteExaminationResultById(String id);
	//根据检查结果id更新检查结果
	void updateExaminationResultById(@Param("examinationResult")ExaminationResult examinationResult);
	//根据检查结果id查询检查结果
	ExaminationResult selectExaminationResultByid(String id);
	//根据检查条目id查询检查结果
	ExaminationResult selectExaminationResultByExamItemId(String examItemId);
	//查询所有检查结果
	List<ExaminationResult> selectAllExaminationResults();
	//根据组合条件查询检查结果
	List<ExaminationResult> selectExaminationResultByCondition(@Param("examinationResult")ExaminationResult examinationResult);
}
